Added Rakefile. Fixed specs
Bump libmdb to the latest version