varintrle: added MIT license
varintrle: exported WriteTo and ReadFrom

Originally meant to just copy this code as needed, but might as well
make this package usable on its own.