Updated COP Template to FlexViewer 3.4

Upgraded to FlexViewer 3.4, Removed White spaces and fixed minor bugs
Merge pull request #6 from pradkumar/master

Updated COP Template to FlexViewer 3.4