Move javascripts to the views to prevent loading on every page and eliminate console errors

There is probably a more rails way to do this. That would intail figuring out how to deal with variable hoisting.
Add simple format to show and index pages to allow for formatting summary
Add status field to resource form
Style paragraphs on show page
Add avatar files to gitignore
Remove js files from assets since they are now in views
Precompile asstes
Remove gravatar
Change resource region selector event to click so that it works on mobiles
Change session new to direct user to 'role' show instead of user show
Change session create so that if user hasn't created role they will be redirected to appropriate new action
Add authorization and write tests for it
Add signed_in_users method to contractors
Add region map to resource form so that user will have a reference for choosing region.
Add authentication to resource and contractor show pages to hide edit from unauthorized users.
Added regions and resource_regions tables
Fix unit tests
Change block to accept integers instead of string
Fix resource index and show pages to display regions and home regions
Set up form to accept nested attributes