removeArrayItem (models/mongo.js)

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