Add ability to set content type
Pass options in an array instead of all the arguments
Is this good enough for Steve?
Tidied up options logic and added BC message
Merge pull request #3 from CloudManaged/set-content-type

Added option to set content type