add tags feature

this was ignored by the ctags ignore in my .gitignore before, sorry about that
Merge pull request #7 from tagged/master

Convert syntax to PHP 5.3