Added support for the split view to adhere to maximum size settings when dragging the divider
Cleaned and simplified the implementation
Merge pull request #11 from terhechte/master

Added support for maximumSize setting.