Fix stats aggregate building with scheduler, fix map with spatial DB
Merge branch 'master' of git://github.com/nursix/eden
Unit test fixes.