Throw javascript exception on a new media API error.
Calling stop in stopped state no longer changes to error state

Removed common test checking calling stop in stopped changes to error and added new test
checking we stay in stopped.
Check calling stop in stopped does not emit a stopped event
Added HTML5 test to make sure calling stop does not call pause on device
Added CEHTML test to ensure that calling stop from the stopped state does not call stop on the media element
Added samsung test to make sure calling stop in stopped does not called stop on device
Don't go to error state if we call reset from empty state

Changed ErrorWhileResettingInInvalidStateIsLogged common test to reset from playing rather than stopped
Tidied up the tests a bit
Merge branch 'master' into new-media-api-relaxederrors
Merge pull request #198 from fmtvp/new-media-api-relaxederrors

New media api relaxederrors