expose command context instead of repository.

Exposing the context instead of the repository object is more useful
and achieves the same purpose, plus, context.repository() may be removed
and by exposing the context we could check if the command is being run
inside a transaction (like in context() instanceof GeogitTransaction).