Add disassemble function to stdlib

See commits for details. Lacks some documentation for the new exported functions.

Fixes #58.