Made the text drawing support non-strings

Accidentally passing of a number to the text of an element produces a
very nondescript error, which made debugging an extremely lengthy
process.

Instead, I changed the code to accept any type of object (although
string is still preferred). It will automatically call the object's
toString() function when converting for the canvas.
Merge pull request #105 from Animatron/base-state

Base state & Pivot & Sandbox stability
Merge branch 'master' into server-only
Merge branch 'master' into fix-editor-incompatibilities
introduce reg-point back among with pivot
Merge pull request #106 from Animatron/reg-point

Return of a registration point for special purposes
Merge pull request #104 from ahollenbach/master

Supporting non-strings in text elements
fix PR #106 from @ahollenbach
Merge branch 'master' into fix-editor-incompatibilities
example to test end-actions
add support of new rotate-to-path
Merge pull request #107 from Animatron/fix-editor-incompatibilities

Support for new Rotate-to-Path from Editor
apply v0.9.14
Merge branch 'master' into server-only

Conflicts:
	src/player.js