DataTable filtering on Deal view

Deal model had to be changed a bit to cooperate with filtering.

Also:
* Item count implemented from static HTML to datatable
* Action bar is visible only when needed
* Refactoring - code standards