modified typecons a bit

Modified code to reflect D coding style, added unit tests and an alias
this to facilitate allow: int x = mySizeT