Additional tests matching PHP 7 implementation
Link to Safe Casting Functions RFC
Remove filter_var dependency
Update version in readme
Use exceptions for cast failures
Update readme