Add custom user type for YearMonth

The one from jadira uses serialized instances and we need to compare
dates.
Right now the user type is set using annotation in every entity, should
find a nicer way.