Renamed AppControllerTest
Use Optional to deal with nulls

Use googles Optional wrapper to deal with possible nulls.
Check if an invitation uuid actually exists. If not display
a flash message to the end user.