added meteor.mode function to determine dev/prod mode