Assert typeof node === "object" in marker.apply and fix resulting test failures

Issue: https://code.google.com/p/esprima/issues/detail?id=428