[SWITCHYARD-1469] - Add a self-referential check in LocalInvoker for bin...

...ding.sca

Fixed issue based on the Keith Babo's direction. 
Added unit test to prove that it works.
Passes checkstyle checks