Use expression parsing library; use submodules; cleanup

Fixes http://issues.webos-ports.org/issues/375