GetInvitePreview
all confirmations keys used
extra details for email template
can get invite to a user by either id or email
conf by user id OR email
add template for invite by key
tweak missed \
invite specific types and methods
move invite specific code, add profile to preview
switch to using StatusError from common

now we can wrap and send error model as response
cleanup commented out code
ensure we return status err where applicable
test updates for returned data
mv invite specific code, update findConfirmations

based on discussions with eric after code review
add some comments
Merge pull request #7 from tidepool-org/jhbate/inviteByKey

Jhbate/invite by key

have addressed issue's raised - will wait for product decision before changing / amending the  unauthenticated request discussed