Fix broken IBitmap.wrap() implementation.  Add tests. Implement IBitmap.equals().