Refactored command into executable base

Added Executable and IExecutable as a base of command and query as there
was a lot of duplication there.
First stab at PagedQuery

Just an inital stab at a paged query pattern with no implementation or
tests yet.