Refactored metadata generation to use MetadataSerializer.
- Added a custom CacheAwareMetadataSerializer that handles the cacheDuration attribute.
- Fixes #106.
Removed unused metadata XML generation code.
- Extension classes with ToXElement methods for metadata classes.
Merging use of MetadataSerializer for SP metadata.