Make automatic allocate action on hangar model create configurable (OMS-435)

Also includes a fix for OMS-463