Added graph shutdown to tests
Formatting fixes to graphcontextimpl
Removed dead null check in IterationQueryImpl