implement Module#constants, first and second form

- when called on Module (or Class), retrieve global constants
- when called on Object, retrieve constants scoped to instance