added default placeholder icon to unpFlatView (shown if a photocolumn is set, but a photo doesn't exist), option added to call replace the current state when calling openDocument() - used for view > read doc > edit doc > save > read doc > close (should go back to view) flow, photo column in flat view is now a background image (easier to make square)
delete button added
glyphicon references removed, footer also loaded for ajax calls