move route validations into cfoundry [#49947175]
add persisted? and to_key to all models [#49947175]

deleting a model does not clear its guid