make check before calling callback
separated Express setup from http server setup to enable easier Express sub-app mounting;
fixed up a few places where using process.cwd() was preventing Keystone from easily being used in a fully embedded context;
added a detailed example in the README (including reasonings why this is a good idea);
Merge branch 'master' into easier_embedding
fixed some spacing -- tabs are not the norm in the node community ya know :-)
fixed erroneous line in README code snippet
Catching errors on deletion.

Fixed the fact that error wasn't handled when deleting an item. 
In a project, I had to sync backend with an external Cloud. I used mongoose middleware (pre-remove) to try deleting the same item on the cloud. If something went wrong or deleting is locked (this happens when something is pending), I pass an error to next(). It cancels the deletion, but no message was prompt (flash or console).
Email logo for testing
Revert "Email logo for testing"

This reverts commit 302a3d22487fd743f7ce237a0df923eae5ad1fc5.
do asset redirect workaround _before_ mounting... fixes more cases
Merge pull request #332 from fbeaudet/patch-1

Catching errors on deletion.
Removed useless verification on single element

I don't know what was causing findById to return more than one entry when this verification was written, but according to mongoose documentation and my tests in Keystone, this condition (Array.isArray(item)) never returns true in any case (when displaying the view, saving an item, or trying to edit an item that doesn't exist). Of course, I assume that ids are unique, if that's not the case (is that even possible ?), we should handle this error more explicitly.
Merge pull request #335 from fbeaudet/patch-2

Removed useless verification on single element
Merge pull request #321 from ryedin/easier_embedding

Express sub-app mounting and easier node_module embedding