hitting the invite create from the doctors patien index invite-form
doctor patient invitation email implementated, invites controller create action makes the invite association, set up for the invite switch to appropriate user class type record creation and the implementation of invite state and its progression
removed unnecessary files
implemented a controller referral check on the Invite create action which adds the invited type to the invite record which can then be used in the Invites swithc action to create the correct invited record type
mailer test for the invitation set, valid invitation accpetance link to switch action included
first draft of the invite switch method done-needs refactoring and the successful feature test for the patient signup on invite to be done next
Merge pull request #3 from phoenixbox/invite-poly

Invite poly