fix ./dev create-barclamp

Fix a syntax error, and stop 1.9.3 spewing warnings about using
class variables from the top level.
Merge pull request #1960 from aspiers/fix/dev-create-bc

Several +1 and got smoketested => merging.