Refactor path parser to a separate file

Change-Id: I147d495470d29b41ffaa9c727eff02afe4c0ef34
diff --git a/src/parser.cpp b/src/parser.cpp
index 91b00a2..57511d3 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -39,7 +39,7 @@
             x3::with<parser_context_tag>(ctx)[
             x3::with<x3::error_handler_tag>(std::ref(errorHandler))[command]
     ];
-    bool result = x3::phrase_parse(it, line.end(), grammar, space, parsedCommand);
+    bool result = x3::phrase_parse(it, line.end(), grammar, x3::space, parsedCommand);
 
     if (!result || it != line.end()) {
         throw InvalidCommandException(std::string(it, line.end()) + " this was left of input");
@@ -61,7 +61,7 @@
             x3::with<parser_context_tag>(ctx)[
             x3::with<x3::error_handler_tag>(std::ref(errorHandler))[command]
     ];
-    x3::phrase_parse(it, line.end(), grammar, space, parsedCommand);
+    x3::phrase_parse(it, line.end(), grammar, x3::space, parsedCommand);
 
     auto completionIterator = ctx.m_completionIterator ? *ctx.m_completionIterator : line.end();