Added support for ShellIterator.hasNext and for the rest of the db.collection methods
Merge pull request #12 from vkarpov15/db/collection

Added support for ShellIterator.hasNext and for the rest of the db.collection methods
Ignore undefined, print function signature in interactive mode