Modifiied server REST code to use status code from HttpStatusException in addition to generic InternalServerError case
Added immutable qualifiers to MongoDBException fields
Changed trown Mongo exceptions to new ones. Updated DDOC comments accordingly
Strong typing for getLastError - personal return data type instead of Bson. db.getLastError now calls connection.getLastError