Replace -m doctest with a wrapper in check-local

Replace -m doctest and fail if doctests fail

Change-Id: I582ef883150cd6d44128ba109b49fcec44300199
Signed-off-by: Ryan Barry <rbarry@redhat.com>