Add unique contraints validation

On insert method the uniques that where set using the ensure_index method are checked and throws duplicate key error