Properly emit and consume values in scientific notation

- closes #7
- add precision parameter to as.yaml, defaults to the digits option
- don't use R's format function for reals anymore, since more finer-
  grained control is needed
- handle float#exp type in yaml.load