Allow for HTTP Basic Auth with the REST Adapter

This pull request created a version of the REST Adapter that allows the adapter to authenticate using Basic Auth. The only change is by adding a username and password field to the REST Adapter, and then modifying the ajax method to check for these parameters.

There are many APIs that use Basic Auth with an API key as a username such as Campaign Monitor.