Move decorator functions out of util into separate file
Move Exceptions from utils.py into new exceptions.py
Reorder imports, add __future__ imports and utf8 comments

The __future__ imports and utf8 comments are intended to make the code
more easily Python 3 compatible
Add @wraps annotations
Merge pull request #868 from maurizi/refactorUtils

Refactor utils
Fixes #862, Fixes #863

Removes unused inline style
Fixes scrolling issues
Fixes images being cut-off at the bottom
Fix indentation
Fix issues with styling not being applied after adding an image

The active class was not being applied to indicators properly
Disable the image carousel next/prev when there is 1 image or less

Bootstrap Carousel would not work properly with only one image, and could
not recover after adding more, so I disabled the controls until there are
at least 2 images