Make behavior of indexing with integer sequences and boolean arrays consistent (issue #300)

    if not ae.dtype.kind in ['i', 'b']:
        raise IndexError