Updated Smarty to use latest version 3.1.17
Tidy up config setting spacings.
Updated spacing and copyright.
Mass updating copyright on all files.