fixing ensureIndex bug with mongo driver version > 1.2.11 & fixed SSL issue with go… 

This pull fixes 2 problems with moadmin version 1.1.1

* ensureIndex takes the 2nd parameter as array. with newer mongo driver versions, and i kept the backwards compatibility with versions older then < 1.2.11
* fixed an issue with hard coded http protocol with google js library domain. causing the browser to display unsecured flag.