converted Import lib into commonjs for #1401 #1406 #1397 #62
adding batch import functions
jshint
added push and unshift to the collection
addFileUri and readUri return promises