add test for skip_before_filter with condition
Merge pull request #10591 from acapilleri/cond_callback_test

add test for skip_before_filter with condition
add failing test exposing mysql adapter tinyint bug

in myself, a column with type TINYINT(N) where N > 1 can be used to
represent an integer, but the rails mysql adapter refuses to interpret
as anything but a boolean.
tiny types should only be integers when the length is <= 1. fixes #10620