Use macro getters for input elements
Introduce the NativePropertyHooks struct.

This will be required for the cross-origin wrapper work.
Merge pull request #3176 from Manishearth/more-macros

Use macro getters for input elements: r=Ms2ger
Merge pull request #3175 from Ms2ger/propertyhooks

Introduce the NativePropertyHooks struct; r=jdm
Introduce ConstantSpec::get_value.

I'll need it for cross-origin wrappers as well.