Update remote.js to include request headers

Added a headers property to the options block.  This gives the user the ability to pass in pertinent request headers, such as a CSRF token.
Merge pull request #661 from ryan2049/master

Update remote.js to include request headers