fixes iron-router errors while using tinytest

The changes add support for standalone packages that are not contained within a Meteor application.