Conley type index applied to Hamiltonian inclusions