fixed auto resize prepareLayerForStringMeasurement to take padding on a layer into account when setting the maxWidth on the layer
Added unit tests for autoresize inputs with padding fix
Merge pull request #1288 from tobias-g/auto_resize_padding_fix

Auto resize padding fix for SC.TextFieldView