Added modernizr with localstorage check as a dependency.
Changed the base and component modules to handle lack of localstorage support better.