Update copyright year to 2018 for new/significantly updated files
Split clock code into common and arch specific code