Important bugfixes

1. Database.php was incorrectly escaping fields that partially match
other fields, updated to exact matching.
2. Net.php on success callback, we have a third parameter $curlOption
and its header property was supposed to contain plain text response
headers. This was never returned due to a reference error, now fixed.
3. Updated filtering algorithm, and correctly filters array values over
virtual fields. (Array means OR)