Fixed improper metadata.xml merge and modified InstallerCP to read
metadata.xml from src/main/resources, instead of target/classes.