Built-in resolvers shouldn't have the priority hard-coded (#11)
- also add some missing licence headers