Finished up build

I put this in the actual classes/modules, functions. If the required
$element is not there it returns. I'm open to changing this, I think
its something that will also change as this codebase develops

* Added settings to circle ci
* Added env settings of path for test command, to ensure if finds
phantomjs bin locally.