Field-Types are now defined by passing in an object holding different field-objects
for the different fields in the index. See converter.js for more information on this.
A huge portion of code has been removed due this new way of defining a simpleindex.
convertToDate has been moved to utils
added convertToDate
and ensureString
some cosmetics but mainly reworked due to changes of how types of fields
are defined with the new way implemented
converter for different field-types
Result is now using defined converter to convert stored values back to
javascript-values
fixed bug where a number (date.getTime()) was returned instead of the date
added a test for date-resolution