remove deleted properties and filter by is_deleted
Merge pull request #7 from mediasuitenz/fix/tmps_not_disappearing_when_deleted#TMP-295

remove deleted properties and filter by is_deleted
Refactor api to explicitly close mysql connections