Added a create-user console command for adding a user to the local directory.
Fill preferences after load, otherwise we get a 404 becuase the basepath hasn't loaded yet.
Check for the existence of cycle/application before attempting to search for existing answers.
Fixes #206
Instead of searching for JS elements by name search for them by class type name.  This actaully works.
Fixes #209
If there is no application set when previewing a page create a blank application instead and use that.  Only matters when building global pages in a new environment.