Added initial Promises support to search context
Fixed various issues

Many bugs on search optional parameters
Added correct promises checking code (needs testing)
Added angular with MLJS tutorial, rebuilt docs and downloads
Added Dave C's promise changes
Dave C's changes merged into the other app too
Adding path to mocha
Merge remote-tracking branch 'adam/dev' into dev