Fix URL parsing when a query string is present.
ItemSchema.findByCollectionSchema now follows nodejs standards for asynchronous methods.