changed core parser to use peg

parser now generated using peg (rust parser generator) crate.
small bug fixes in parser

- added more tests for quit and ping
Merge pull request #17 from joeschmo/parser-gen

Parser gen