Add support for associative array in options, remove deprecated special case
Fix test case for PHP 5.3
Merge pull request #27 from alpha0010/master

support associative array for setting option