First, let me begin with a disclaimer - this code is to be used for recreational purposes and not to be used for life safety or non-UL/CE listed applications. Use at your own risk, and test thoroughly before leaving unattended.
Attached is the garage door Imp file designed to work with the standard DoorLock dev file. This is designed to work with a HRDS1 or similar battery powered sensor and a ZRF113 or similar relay device. Once you have installed both these devices, note the device numbers. Plug these device numbers into lines 4 and 5 of the attached file (SensorDevNum and ContactsDevNum). Then upload the file to Vera through Mios Developers > Luup Files. Check the box to restart luup after upload. Then, add a new device through Mios Developers > Create Device. Under Description, name your new device. Under UpnpDevFilename, enter D_DoorLock1.xml Under UpnpImplFilename, enter I_GarageDoor.xml, then click Create device. Save, then power cycle vera, and your garage door device should now work like any other door lock.
Not very pretty, but works great. If there is interest, I will clean it up, but it should be a good start for anyone else to clean up... just add a couple lines to the init to populate the status variable - I think that's what will eliminate the need to power cycle; and maybe add a couple state variable to represent Sensor and ContactClosure device numbers.