Adds directives and a service that manages the layout of a form. This enhancement will automatically manage and flip the grid classes to vertical on narrow screens. Also added host wrapping to the inputs for proper layout. (#2354)