replaced shadow root query with automatic node finding
updated code to polymer 0.11 style and created a common messsage class to share tranlsations