Allow different options.rest.bases for the same instance of rest.coffee
Added test for options.rest.base