Move hash module from collections to core

r? @alexcrichton