Stop using consts
Pulled in `get`, `compose` from `deftype`; changed `variadic` to fit ES6

The semantics of `variadic` changed such that `rest` always is an array,
and just empty if there were no rest parameters in the call.