Merge pull request #9 from widagroup/master

minor changes to settings class
Implemented global AJAX error handler and also changed the filter to redirect if a non-AJAX request is made
Merge pull request #9 from thatcoderguy/master

Merge changes