Register the management script as a console script.

I added a console script. We can use it to do everything `./manage.py` can do, even while the repository not exists and only a installed distribution in the `site-packages` directory.

@shonenada Please review it. Thanks.