[mod] Move execute back into SqlMagic

Made more sense than passing self twice.
Also test the magic directly using Ipython facilities