better identify :format segment of barista routes

barista nested resources will produce routes with :nestedmodel_format segments and thus do not pass the `val.path === '.:format'` condition. Using a regexp to match any :[a-z]+_format will allow nested resources to be used.