Splits on '.' to expose nested properties

Currently exposing `require('expose?GlobalProperty.NestedProperty!./Something');` results in `Global["GlobalProperty.NestedProperty"]` this change will allow nested properties `Global["GlobalProperty"]["NestedProperty"]`