Added support for flat pages by updating the python models, tastypie resources, models, collections, views, and templates