parser: Split parser into two sections to allow cleaner importing. Also copied robocop.push to avoid importing that module.

Signed-off-by: Martin Stone <martin@d7415.co.uk>