better error handling for publications and add some dummy apis to reflect Meteor's publishContext
version bumped