Fixed bug where can_edit wasn't being worked out when fetching a single post
Added some defs use for PostModel
Organising twig files
Added stug.twig for WIP pages
Twig files used by controller are now better organised
Added new fetchPostsByCategory function