Added expression parser

This will be used to evaluate expressions as they are written, rather than
waiting for a Python invocation.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Switch to C++11 thread API

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>