Improved backend for searching in filtering of ocntracts.

Substituted HTML anchors and JS by a Django form.
Added date range filtering.

Added dependency of bootstrap-daterangepicker.js and moment.js
to choose date range.