removeArrayItem (models/mongo)

added: deleteAllPropertiesWhichAreUndefined and getArrayQuery function to remove undefined attribute and prepair mongo specific array.

}
                            if (err) {