PNaClContext: remove private utility methods (use util module instead)
JSContext: accept a single Number as a shape in reshape