Cleaning up the build a bit
Adds the form mode support to auto-switch to ajax
Adds the phantom runner to CI