Whitespace trim fix

Only trim whitespace when input is a text field
Tests added

Test various types of input, with comparison to Angular 1.3 behavior
Readme updated
Test options updated