Cleanup tag helper: phpdocs, refactor
little refactoring of entry helper too
When deleting entry delete also its tags. Fixes #60
Reordered and refactored the tag helper