adding some basic performance tests
add lunr utils module with zeroFillArray fn

zeroFillArray will quickly create a zero filled array of a specific
length, this will then be cached for future
use lunr.utils.zeroFillArray when creating vectors

removing the logic from vector for zero filling a given array leads to
significant performance improvements
stop word filter should exlcude empty tokens
remove recursion from token store

improves performance by removing the overhead of calling a function
update the search tests
Merge pull request #24 from ShareIt-project/master

Ignore when removing a non-existent document on the index
build version 0.3.1
fixes #27
don't try and calculate tf for empty fields

was causing issues when adding a document with an empty field, 0 / 0 would give a NaN which would end up as the tf, and then as the documents score against a query
Merge pull request #31 from olivernn/pr/28

Fix bug when indexing a document with empty fields
build version 0.3.2
add event emitter methods to index prototype

adds on for attaching event handlers and emit for firing events, also
adds a 'private' property to the index for stroring the event handlers
emit an 'add' event after adding a document

event is emitted with the document that has been added and the index it
has been added to.
add events can be silenced

passing false, or something falsey (other than undefined) will prevent
any add events from being emitted. Not passing anything, or passing true
will cause events to be fired.
emit a remove event after removing a document

the event can be silenced by passing a defined, falsey value as the
second parameter to remove
emit an update event after updating a document

add and remove events are silenced, only the one update event is fired
document the emitEvent parameter
Extract warning logging into a dedicated function

Should work in browser, Node, and Web Worker environments.
add augment to the test suite