Implement the 'global' keyword to differentiate between variable scopes

refs #8074