version head
refactored head, extracted api classes Version and Pack
refactored Heads code to Head class
added equals and hasCode to unmutable objects Project, Version and Pack