Fixes bug 14 on the condition that it is an address given (uses geocoding in thedirectly in the directions service).
Also fixes bug when toggling enableDirections so that the route previously searched will display again.
Puts openMarker and directionsLoaded in their seperate functions to tidy up the code/ remove repetitions.