Add typehints and other language features that we didn't use to the frontend navigation class
Add typehints and other language features that we didn't use to the frontend navigation class

It could use with some more refactoring but I think this time it is too complecated to do it in the current scope

Katrienvh/forkcms,riadvice/forkcms,riadvice/forkcms,sumocoders/forkcms,sumocoders/forkcms,jeroendesloovere/forkcms,justcarakas/forkcms,riadvice/forkcms,sumocoders/forkcms,carakas/forkcms,tommyvdv/forkcms,mathiashelin/forkcms,jonasdekeukelaere/forkcms,jeroendesloovere/forkcms,mathiashelin/forkcms,sumocoders/forkcms,jessedobbelaere/forkcms,riadvice/forkcms,mathiashelin/forkcms,justcarakas/forkcms,bartdc/forkcms,carakas/forkcms,DegradationOfMankind/forkcms,jacob-v-dam/forkcms,jonasdekeukelaere/forkcms,jonasdekeukelaere/forkcms,jonasdekeukelaere/forkcms,sumocoders/forkcms,bartdc/forkcms,forkcms/forkcms,carakas/forkcms,jeroendesloovere/forkcms,tommyvdv/forkcms,carakas/forkcms,DegradationOfMankind/forkcms,carakas/forkcms,jonasdekeukelaere/forkcms,jacob-v-dam/forkcms,justcarakas/forkcms,DegradationOfMankind/forkcms,Katrienvh/forkcms,jessedobbelaere/forkcms,DegradationOfMankind/forkcms,tommyvdv/forkcms,Katrienvh/forkcms,forkcms/forkcms,forkcms/forkcms,jacob-v-dam/forkcms,jessedobbelaere/forkcms,tommyvdv/forkcms,forkcms/forkcms,jacob-v-dam/forkcms,bartdc/forkcms,Katrienvh/forkcms,mathiashelin/forkcms,jessedobbelaere/forkcms,jeroendesloovere/forkcms