refactor(navigationInstruction): co-locate behavior with data

Several utility function consistently acted in the same way on
navigation instruction data. These functions were moved out of the utils
module and made a part of the NavigationInstruction class were they
belong. This also opens the door up for developers to create custom nav
instructions, using regex for example, provided that they implement the
required interface.