Ecma datamodel

Final state of the test module javascript:
https://gist.github.com/feyzo/b25e9d0730477d2fbe15

Got the idea from here:
http://www.w3.org/TR/xmlschema-1/#d0e1654

What do you think?

Closes #175 
Closes #178
Closes #307 

Closing 1 erroring 1 failing tests.
Passing total of 164 tests, 61 of those from w3c.
Leaving 11 erroring and 92 failing tests.
These four tests request space-normalized string but there is no implementation.

http://www.w3.org/Voice/2013/scxml-irp/540/test540.txml
http://www.w3.org/Voice/2013/scxml-irp/546/test546.txml
http://www.w3.org/Voice/2013/scxml-irp/558/test558.txml
http://www.w3.org/Voice/2013/scxml-irp/562/test562.txml