#598 Docummenting empty queries in apiv2
Improved solr error message on bad request
#598 Added js client for apiv2 and updated js client link for APiv1