Refactor the source code structure to build both, bindings and exe.

This way, we can easily enable the javabindings and still get the
normal PhantomJS executable.