add generatedAt field to discovery document
update discovery document generator for rails 3.2
delete cached discovery document during boot, so doc matches running code
add discovery document test