allow a Foreign key to be nullable

All or none of the Foreign fields must be nullable
Merge pull request #278 from yesodweb/nullable-foreign-key

allow a Foreign key to be nullable