Update db.py

allow to define db_host in config file (when MySQL server is not local)
Update wnf.py

use db_host in config file for mysql command
Update backups.py

use conn.host parameter and correction with get_backup method
Update requirements.txt

add slugify (used to handle unicode file names)
[minor] fix ip restrictions to use forwarded for header as well
[minor] encode to utf-8 before writing to file (custom script)
[minor] fix header name for forwareded for in auth
Refactored plugin architecture to allow custom script reports
Merge branch 'master' of github.com:webnotes/wnframework

Conflicts:
	core/doctype/custom_script/custom_script.py
[fix] added owner permission for all query report
[minor] [fix] report export via open url post
Merge pull request #288 from akhileshdarjee/1310

[fix] [minor] added owner permission for all query report
[minor] [fix] cint
Merge branch 'master' of github.com:miguelfontanes/wnframework into miguelfontanes-master
[minor] [fix] backup
[minor] build after update
[minor] add --reload_gunicorn on update
Merge branch '1310' of github.com:webnotes/wnframework
[cleanup] UI Fixes
Merge branch 'master' of github.com:webnotes/wnframework into cleanup