adds headers to ajax call and to view
fixes how to get headers content
version changes
Merge pull request #3 from jplethier/master

Adds headers options