Fixed NavButtonsPosition test to adjust values for the redline update. Removed a race condition from a couple unit tests. Fixed a PivotItem test that would fail on chrome due to not being inserted into DOM before asserting styles.
Remove unused configuration variables.
Put proper AMD wrapper around all source files.
Modularized _Base.js
Remove circular dependencies in Core.