Working prototype with Metawidget inspectors.

Reused the ForgeInspector from the scaffold-aerogear project.

Wired in a CompositeInspector that produces a org.w3c.dom.Element instance that is further parsed before feeding to the FreeMarker templates.
Fixed the generation of the required attribute in HTML5 forms.
Added logic to the detail-entity FTL for date and number types.

Specialized HTML5 input type attributes like type="date", type="datetime" etc. are now generated and used for display when creating or editing entities.
Refactored the logic for displaying input types.
Enabled Twitter Bootstrap responsive feature.
Added support for M:1 relationships in the generated scaffold
Fixed issue involving display of relationship references.

The generated scaffold now contains code to replace a JSON object reference in an AngularJS Resource, with a reference to a Resource object present in a Resource collection. This is done to pass the object identity (===) comparison test used by AngularJS for HTML5 select elements. AngularJS requires that the ngModel bound to a select, should also be present in the ngOptions array/collection, failing which it does not display the bound model element. When a Resource with a JSON object is originally obtained, the JSON object is not equal (===) to any element in the Resource array/collection used by ngOptions; hence the need to replace the JSON object with an actual element from the array/collection.