apply classes to the input element

@camshaft 
The classes used on the original element should be applied to the generated hyper input.

This should be done before anything is set to the scope so the classes relating to the directive don’t pollute what was specified on the element.