Feature/period serialization

Includes a JavaXMLTypeAdapter for the Date class inside the Period object.