Swing functionality with UI for controlling swing added

Changed default value of swingRatio and added spacers where necessary

Optimized call to get swing ratio

cleaning up UI

Cleaning up UI further..

Size of spin boxes fixed

Using qreal instead of double

Swing functionality with user controlled swing ratio implemented
Addded tests for swing

Swing tests working now

Tests for swing added
Removed compareDump

Renamed test files

Removed compareDump and renamed the test files
Merge pull request #1001 from shredpub/swing_UI2

Swing functionality with user-controlled swing ratio implemented