New test for non-existing id
refactored persistence.getById to use array.filter instead of iteration
Added or corrected global directive
Made persistence tests order independent
Merge branch 'persistence-improvement'

Conflicts:
	test/persistence_test.js
Merge pull request #21 from ggramlich/master

Some improvements on the persistence