Hamas and other Palestinian factions have rejected a US-drafted resolution submitted to the UN Security Council that calls for deploying thousands of foreign troops to Gaza.