#54 Update user code generator to match CPA spec
Added test case for device code generator
Merge pull request #60 from ebu/user-code-generator

#54 Update user code generator to match CPA spec