add database support
fix content type of the result
add first test for database usage in the template
add post controller

This adds the post controller to get the posts from the database and
make apply all filters needed to make it a workable result.
add atom feed