Step towards successful casting

The zext, sext, fpext, trunc, and fptrunc functions all appear to be working in Dream. The fp, i, and u functions still are buggy. Still it is a step in the right direction :)

Also, this pull request should cover all code from the other two outstanding pull requests on casting so they can be closed (I don't know how to close them)