added SubSlot API and BAO
Changed schema to use string instead of integer for fk to option value
use value instead of id to getting option value
removed parameter due to the function changed
Updated contact labels and redirect use to step 1 after postProcess()
updated parameter then calling APIs and default resourceTotalPrice
changed the text to be in-process
use number instead of text for Booking status option group
added reset=1 to url when invoke the links
updated resource apis
Added Booking and Slot APIs
removed dpr function
added id to the text
update the SubSlot DAO
updated SQL from civicrm.sql
update text field to use primary_contact and secondary contact instead of contact and organisation
lasted schema
Created Slot BAO
Implemented create booking object and slot
updated getResourceTypes argument