Throw exceptions in the Doctrine type

Fixes #18 by throwing exceptions in the Doctrine type.

I've reused `ConversionException` in `convertToDatabaseValue()` as [others appear to be doing that](https://github.com/ramsey/uuid/blob/master/src/Doctrine/UuidType.php), though I have changed the message so that it makes sense.