Fix some warnings.
Remove deprecated constructors for EmbeddedGraphDatabase.

o Use GraphDatabaseFactory instead.
Merge pull request #1403 from benbc/2.0-kill-off-more-deprecated-stuff

2.0 kill off more deprecated stuff