work on error handling.
merged from master.
better error handling, devise errors.
more work on error handling.
unique devise errors.
handle autosave errors.
Merge pull request #185 from noted/185-errors

flashes and error handling.