Added a library for solving examples during the build process.

I've abstracted the script I mentioned in #16 to a library so that it would be a little easier to reuse/hack.  Feel free to make whatever changes you deem necessary for integration with the build process.  The basic syntax is:

```
phpes filename.xml ...
```