support lein project version and improved error report when configuration is missing