Refactor controllers and helpers

move db actions to models package
refactor helpers
better controller composition
start posts controller
[interceptors](http://revel.github.io/manual/interceptors.html) are equivalent to before_action, after_action, etc.