Issue #181
Merge pull request #180 from git-marijus/master

i guess we should use .active class for all selected links.
linkify post categories
We really don't need the category delete links on each category in each post with categories, as we can now change the categories by editing the post. So take out the delete links.
sql typo in directory sync
sql wrong number of args
don't update old entries with no address
sync tweaks
extra logging
why do these have invalid id's?
update even if no change
directory sync optimisations to save redundant processing
oauth wasn't logging in properly, also fixed api status_show to return last public post, not the last private post
add code-style guidelines. These aren't laws or rules, they are guidelines.
wrong app name
Don't break themes by using functions we don't need.

If you've got a theme that started off copying Redbasic (ie, all of you) need to do this too.
Check only for php in schema globs.
Errant logging.
first cut at plugin author's guide
minor edits