Add copyright headers and pep8 fixes

Signed-off-by: Chuck Short <chuck.short@canonical.com>