finalized posting controller and basic index view of posts

Change Log:
*Updated the routing for a cleaner look when creating new text, and link posts
*Fixed the SQL call bugs in the Posts controller
*Reworked the index page to display all posts with links pointing to either the post/:id page or the external url provided with the link_post form