modal new objects

Provides a modal for creating new Grefs.

* Includes a JS test harness
* Basic test coverage over validation logic
* Modal in the gref chooser to create new grefs