Merge pull request #1 from welearnednothing/master

Fix invalid XML requests
Added a configurable endpoint constructor param for custom API endpoints
Now able to pass session variables directly to the notice, will now move to a member of the notifier for cleaner usage
Changed to the new session, environment format. Removed the JSON notifier as it is impossible to test and breaks compiling in the new format
Now cleaned up to only use regular objects for session and environment
Record errors from non-debug Flash Players

The AirBrake API requires a <component> node to be included in the
<request> node. Because non-debug players do not include a stack
trace, the attempt to determine the component will return null
resulting in that node not being sent to Airbrake and the error
not being recorded.

This change defaults the component to 'unknown' thereby allowing
the resulting XML to be valid.