Whoa, you need to try to avoid some of those acres of white space at the bottom of your post.
Thought that perhaps your grandfather might have been enrolled in the Royal Hibernian Military School in Kilmainham in Dublin,
http://www.richardgilbert.ca/achart/public_html/articles/hibernian/index.html but he isn't listed.
The RFC was created in May 1912 and the Army branch of the RFC was formed from the Air Battalion of the Royal Engineers which was created in April 1911 and that was formed from staff of the Royal Engineers School of Ballooning which had been formed in 1888.
https://en.wikipedia.org/wiki/School_of_BallooningThe Air battalion had two Companies, No 1 Company operated airships and No 2 Company operated aircraft.
https://en.wikipedia.org/wiki/Air_Battalion_Royal_EngineersNo 2 Company was based at Larkhill on Salisbury Plain which is probably your Stonehenge, because they're only about a mile apart.
http://www.rootschat.com/links/01ggi/Unless you have military records that say otherwise, perhaps he was still serving in the R.E. and transferred into the RFC in WW1, and if he had done that, he would have been issued with a new Regimental number in the RFC, and given his dates, he might also have served in the Second Boer War.
When the RAF was formed on 1st April 1918 all of the RFC servicemen were transferred to the RAF and they retained their RFC regimental numbers in the RAF, and it looks like this is him in the RAF in April 1918...John Macpherson born 1877 in Cork attestation year in respect of the RAF 1916 number 220145 occupation Joiner & Sawyer.
How did we get from Brazil in WW2 to Stonehenge in WW1. ?

Weirdly curious coincidence, there's just been an ad on the radio for a TV programme later today about Stonehenge. !
Catch you later, I've got to go and try to figure out how to pee into a plastic tube less than half an inch wide.