Lockfile for onepoll, removing old smarty3 cache files.
Preparations for a more visible reshare when exporting to twitter, statusnet or facebook.
The oauth-parts are some experimental stuff for the statusnet API - but they don't hurt.
Changed the tag search. This hopefully speeds it up on larger systems.
Merge remote-tracking branch 'upstream/master'
Some debugging information added
If APC is enabled then store config data there
Merge pull request #744 from annando/master

- More visible reshares
- lockfile for onepoll.php
- clear old smarty3 cache files
- rework tag serarch
- add more logs for diaspora messages