implement document.getElementsByClassName when passed a single class

For https://github.com/Raynos/min-document/issues/10