A deputy commissioner will investigate claims that wealthy prisoners are buying themselves preferential treatment in jail