minor fixes for 0.11.x
Updated nan to 1.2.0 and fixed deprecation warrnings
Updated bson to 0.2.11