Use file_exists to check for an uploaded file.

It turns out that stream_resolve_include_path doesn't work for a default
Windows install where upload_tmp_dir is set to C:\Windows\Temp. I'm
unclear if this is intended PHP behaviour or not, but the upload file
validator should not be checking for a file of the same name on the
include path regardless.
Use is_file() rather than file_exists().
Merge pull request #6664 from akrabat/hotfix/uploadfile

Use file_exists to check for an uploaded file.
Merge branch 'hotfix/6664'

Close #6664
Remove null bytes in password for LDAP bind
Update test to use setExpectedException

instead of a try/catch block
Noted security announcement in CHANGELOG and README
Prevent null byte-based SQL injection

- Added code to escape null bytes using addcslashes.
Added paragraph detailing ZF2014-06
Merge branch 'security/zf2014-05'

ZF2014-05 patch
Merge branch 'security/zf2014-06'

ZF2014-06 patch

Conflicts:
	README.md
Updated CHANGELOG

- Ensure 2.2.8 announcement is present
- Added 2.3.3 changes
Merge branch 'security/zf2014-06'

Updated changelog for ZF2014-06
Conflicts:
	CHANGELOG.md
[2.3.3] Release readiness

- Updated README with date
- Updated CHANGELOG with date
- Upped VERSION constant
Merge branch 'releases/2.3.3'

2.3.3 readiness
Bump to next development version

- 2.3.4dev
Merge branch 'version/bump'

Bump to 2.3.4dev
PHPCS fixes for Zend\Captcha