Merging authentication changes from branch issue4b.

Changed the way a view is authenticated. You now prepend the auth_required decorator to any view you want authenticated.

Added core.decorators module to hold the above and future decorators.