Changed constructor paramter settings to default to a blank array - this prevents array_replace_recursive being run on a null object.
Merge pull request #52 from caseyfw/master

Changed constructor paramter settings to default to a blank array