Added Error Handling and Routes Index

Added methods to catch and log errors globally and added a routes index
file to simplify app.coffee.