Merge pull request #309 from beardy-unixer/master

Clear out old notifications in the poller.
implement a forced directory update mode where we unconditionally create a directory sync packet. This is needed to ensure that monthly directory pings are propagated to other directory servers so they can each prove for themselves whether or not an account is alive or dead. We do not trust other directories to provide us information beyond "look at this entry and decide for yourself" as doing otherwise would invite rogue directory manipulations. As this scheduled update occurs on all channels across all servers, we should also pick up refresh messages from all existing channel clones and these should also propagate out to all directory servers using the same mechanism (though perhaps not at the same time).
Merge https://github.com/friendica/red into zpull
move expiration of notifications to the equivalent of "cron daily" to try and reduce the number of things the poller has to do on every run.
fixes to thing profile assignments
shamelessly steal, and cut/paste from the settings page to get mod_photos edit permissions working - and it looks like we still have some other fancybox instances (yet another lightbox) which haven't yet been converted to colorbox and will need to be fixed. Way too many lightboxes.
use profile photo on vcard before reverting to xchan photo
fix a mysql error which popped up in the dbfail log
better auth logging in dav
DE: update to the strings
Merge pull request #310 from tobiasd/20140212

DE: update to the strings
dav issue when listing protected contents from OS interface
Merge https://github.com/friendica/red into zpull
ui improvements on the manage page
bbcode element of where you are on a site. perhaps this is less than generally useful but I plan to use it in a demo video where there is no other way to accomplish this
make chatrooms in /chat/channel visible to observers aswell
whitespace
Merge pull request #311 from git-marijus/master

make chatrooms in /chat/channel visible to observers aswell
another bbcode addition for the demo, however this one is potentially useful for other purposes
Merge https://github.com/friendica/red into zpull