Misc fixes: 1. Classes whose name is in "." notation gets the name space allocated to window 2. Each instance of a Model now gets an internalId 3. Now detects if we are in node or phantomjs, and skips private property enforcement
Misc fixes:
1. Classes whose name is in "." notation gets the name space allocated to window
2. Each instance of a Model now gets an internalId
3. Now detects if we are in node or phantomjs, and skips private property enforcement

layerhq/modscore,layerhq/modscore