Topology And Entanglement In Fermionic Systems