ajax

check if request is via ajax
tests included
Merge pull request #4 from oscarpalmer/dev

1.1.0