Updated COP Template to FlexViewer 3.4

Upgraded to FlexViewer 3.4, Removed White spaces and fixed minor bugs