fix(ngModel): process input type=number according to convention, using valueAsNumber

Fixes #574, #575, #576. Previous patches of relevance: #527, #415.