Fix ConfigParser.getPreference error + tests

Was getting the following error:

    ReferenceError: a is not defined
        at Object.ConfigParser.getPreference
            (/home/alfred/repos/cordova-cli/src/ConfigParser.js:88:23)

github: close #138
Fix prepare command from hiding failures.

github: close #139