Made code mode independent

* Switched from backports.pbkdf2 to passlib.hash
* Removed salt field (it is included into hash now)
* Enables debug in Flask (need to do configurable)
* Switched from hardcoded IPs to external sites (need to copy resources to project)
* Fixed "duplicate row" action