Fix code style issues in Item.php
Refactor Item::isArrayEmpty() to reduce complexity.
Fix type cast code style errors (code style was changed).
Fix phpDocs.
Properly return css class.
Wrap long line.
Refactor DCA handler classes for tl_module and tl_content into base class.

Reducing copy paste occurences.