Use os.path.realpath to resolve symlinks when finding cylc's location

This is @devkev's pull request #343 transfered to my clone so I could update the branch quickly.

@dpmatthews - this is straightforward and works as advertised (see comments in #343) please merge to master if it causes no problems at Met Office (I can't imagine it will).