* Allow publish_to and has_permission? to be called without a session * Fix error when calling publish_to without an attachment
* Allow publish_to and has_permission? to be called without a session
* Fix error when calling publish_to without an attachment

Flameeyes/facebooker,mmangino/facebooker,codeodor/facebooker,mmangino/facebooker,Flameeyes/facebooker,codeodor/facebooker,phallstrom/facebooker,phallstrom/facebooker