added search capability to the sdk and fixed global variable leak
added search capability to the sdk and fixed global variable leak

cloudmine/cloudmine-js,cloudmine/cloudmine-js,cloudmine/CloudMineSDK-JavaScript,cloudmine/CloudMineSDK-JavaScript,cloudmine/cloudmine-js,cloudmine/CloudMineSDK-JavaScript