Add __len__ method to Pattern and Interface; pull in core.py from master branch.
Add support for specifying attrib column to Interface.__getitem__().