7414 add bootstrap to forms template app

Refactor of the forms rendering logic to use bootstrap 3 styling.

To be included in the new template app, fh-ngui and fh-studio.
_.isFinite would work for both (undefined && NaN