Merge pull request #232 from Animatron/edit-5891

set active region before calculating bounds
the fix which saves us all
- removed redundant save/restore
- rewrote masking
- removed redundant save/restore
- rewrote masking
- cleanup Path, moved draw into segments, removed count from segments
- up to date element type detection in importer
removed segment type
Merge pull request #233 from Animatron/skavish/new-mask

Skavish/new mask
Merge pull request #234 from Animatron/skavish/paths-cleanup

Skavish/paths cleanup
temporary disable scripting
English. Do you spaek it?
Merge pull request #235 from Animatron/temporary-disable-scripting

Temporarily disable scripting
Log a warning instead of firing an error, if scripting is not supported
Merge pull request #237 from Animatron/new-design

[WIP] New design
fix auto-text selection on double-click over Player canvas
fix rendering with ribbons for project which do not scale
fix positioning with ribbons and factor=1 for thumbnail
also load anm- arguments from iframe, if player located inside it
fix security policy issues with accessing iframe
may be this mistype is the cause of thumbnail issues
fix text alignment and positioning issues