Add erb processing to managed_files.yml

Continuation of https://trello.com/c/k9b9aqbH

This adds `processed_templates` to the list of `managed_files`
It also adds test cases and fixes `restore_transforms`

Depends on https://github.com/openshift/li/pull/1367 for additional cartridges.