Index and search fields

This also takes care of Enum constants (actually Javadoc seems to
process them as fields in JDK 1.8)
Closes #10