Bug 843768  [email] display something as soon as possible at startup

This pull request creates a mock mailAPI for the front end and then dynamically loads the same-frame-setup layer in the background if no accounts have been configured. Uses a cookie to indicate if the backend has accounts.