implements schema types for cycpp and trims strings for numeric types

This fixes #946 and the related issues that came up on the [mailing list](https://groups.google.com/d/topic/cyclus-dev/PK49ORa50yE/discussion).