Put fixes in path handling for writing model directory. Added example
using extrenal NeuroML model with MOOSE.