Make dist files for Bower (and npm?)

This PR is to make possible to build files of core both compat/nocompat in full and uglyfied versions. This is needed for Bower and maybe useful also for npm that @kentaromiura is working on.

The grunt task is fired from the new `tag-release` script and generates the 4 files under `dist/` directory.