Auto discover breeze.metadataVersion and enable use of FactoryGirl with JS tests