Made prepare call look up true resource type by resource id

Because of alternate resource types in the URL instead of a real type, prepare was failing.

Same issue with the backbone forms edit schema, so this was moved into the call for retrieving the prepare object itself - just added as another field.  One less AJAX call.