Split grabText into text, newtext, and namespaceinfo scripts

grabText has been tested and should now actually work at least most of the time.
grabNewText runs but has not been tested, as it is a bit of a special case.
grabNamespaceInfo works but doesn't actually do anything with the info besides print it.

Change-Id: I2b65834aa7973087af7d945a62c12e158c6fb1c3