makes NamespaceEdits namespace parameter a custom wtf Field subclass, and adds testing code to deal with instantiating wtforms outside of the request context.  current commit still fails tests which use a custom field type with celery, as app context is not accessible in celery tasks

Change-Id: I854cb1c69d0e28d63793e762753d272368fd3153