Fix API error notice, prevent duplicate notices, and hook notices in as late as possible
Remove context table from query.

The reason for this is that it isn't used, plus it doesn't return records which (for whatever reason) don't have any context.

Such records were previously immune from deletion.
Fix ordering mistake of args, reorder other operations to match hook args order
Restore context table to get_records and require a matching context for the record count query
Fix COUNT in sql statement
Simplify record count statement again
Complexify record count statement again
Type cast all the primary values, cast settings value and old_value as strings
For some reason casting the user_id as an int causes probs
Enable blocking is Stream is in development mode
We do not need to cast in the abstract, doing it already in the Log class
Move author_meta to primary data field
Default object_id should be 0
Pass record ID when using get_record_author_meta method
Merge pull request #621 from wp-stream/debug

Enable blocking is Stream is in development mode
Ensure that any array meta values are serialized, remove recursive int sanitization
Merge 2.0.0-beta into issue-615, fix merge conflicts
Removing meta loop in favor of array_walk and making things more better
Attempting to appease Travis and his wild accusations
Removing line breaks, hoping this passes the lint tests