Added __ to event function names

__ indicates the the functions are private and should not be called
directly
Multiple callbacks

Added possibility to have multiple callbacks for each event.
Simplified event messaging

Added a new function in Player that manages all api calls with or
without data. Removed individual event functions in api and implemented
one general function that handles all events.
Debug function

Added debug function to log from Flash to Javascript console.
Simplified __playerEvent function
Added negation
Simplified off function
Removed debug function
Simplified callAPI

Simplified structure and added trace if ExternalInterface is not
available.
Changed from for to forEach
Merge pull request #9 from LingoLasse/api

jslib: Multiple callbacks
Formatting error
streamError definition

Updated streamError function to include errorCode in error object and
updated description accordingly.
Removed Object from paramter definition
Merge pull request #11 from LingoLasse/readmeupdates

README: formatting error and streamError definition
Formatting error
Merge pull request #12 from LingoLasse/readmeupdates

README: Formatting error
Function stubs

Added function stubs for all actions
Merge pull request #13 from LingoLasse/apifunctions

jslib: Function stubs
Player stub functions

Added stub functions for all api functions.