Fixed the input type retrieval

The type should be retrieved through the DOM property rather than the attribute to ensure that the default value of "text" is used when the attribute is not there.
It also adds a few case missing normalizations and cleans the access to a few other properties.

This fixes one of the failing tests.

Closes #108
nope. It was done with ``removeAttribute`` because of a bug in the old JSDom version used by Zombie alpha versions