Add FromStg instances for all ToStg ones
Add FromStg instances for all ToStg ones

... after significant refactoring.

No tests have been written so far though, so this feature is still
highly experimental!

Resolves #64

quchen/stg