Doctrine convert make easier

Make the doctrine type handle valid UUID strings when converting to a database value and make the PHP conversion allow for a Uuid instance.