Fix the SQL error that occurs if this is a new model because the lastmodified column won't exist yet
Allow setting of custom headers. This means we can do things like set a StackMob API key in the header
moved the last mod stuff into if statement
Merge pull request #8 from ClinicalSoftwareSolutions/master

Fix for last modified column not existing on a new model and custom headers