initial chunking support
use x-forwarded-for ip, fixes #4
use x-forwarded-for if present, fixes #4
set global variable to access $config from inside of the "get_uniqid" function
Merge branch 'master' into chunking

Conflicts:
	hushfile.php
Merge pull request #6 from hushfile/chunking

merge first stab at chunking support in php server
Merge branch 'fix_config_var_not_defined' of https://github.com/CrazyGentleMan/hushfile-server into CrazyGentleMan-fix_config_var_not_defined

Conflicts:
	hushfile.php
Merge branch 'CrazyGentleMan-fix_config_var_not_defined'
add /api/serverinfo/ and various fixes
copy paste error
Fixed stuff in order to support chunk uploads from the webclient
relative config path
Fixed /api/exists
Fixed a bug and made json posts possible
detect if upload is finished or not, and actually finish it
unfuck string concat
True not true
return error for unfinished uploads