Added Package.__lt__ and fixed __cmp__