Update DOMElement.js

I have added support to the following scenarios:
1. canvas styles width and height are not the same as canvas width and height properties
2. canvas is not at its container 0,0 (has a location offset)
3. support for setting the htmlElement width and height. This way, the DomElement can be used easily for extended layout purposes in more complex scenarios.