fixed jshint error in file api
Merge branch 'dev' of github.com:mujuni88/sportsscheduler into dev
reorganized response and error object logic