Fix regression of default behaviour in Command.project_name

Needed an `os.abspath` in there. Added more tests, too.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Merge pull request #319 from orchardup/fix-project-name-regression

Fix regression of default behaviour in Command.project_name