Slight refactor. Introduced init functions for CommandParser and LspciVVParser. Added extra tests.

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>