Made JS BRidge.value_to_ruby return Hash for 'object 'types.
Implemented Rect class which return position and size from computed values from the WebDialog. Fixes #18.