Added logic to migrate Viewer apps to 3.3 from earlier versions

Addresses #51