X-domain Basic Auth Support

Now supports Basic Auth via the built-in Moodle web service auth plugin.
* In order to accomodate capture of HTTP Authorization header in cases
where PHP cannot access headers natively, a mod rewrite .htaccess file
is included in the root folder of the endpoint. This will provide PHP
with access via the $_SERVER global for authentication when using Basic
Auth or Bookmarklet token-only requests.
(Now you can post statements using the TIN CAN statement generator!)