Fix locator :hwnd

When creating an object using :hwnd as a locator the window is not found. For example

```
windows.text_field( :hwnd => some_valid_hwnd ).set "123"
```
fails. The composed method call control_hwnd is tried to be called with one parameter when it takes two.
Ahh yes. Sorry bout that. Cut/paste error. Let me resubmit with that fix
too.

On Thu, Nov 6, 2014 at 1:10 PM, Jarmo Pertman <notifications@github.com>
wrote:

> In lib/rautomation/adapter/win_32/functions.rb:
>
> > @@ -262,7 +262,11 @@ def control_properties(hwnd, locators)
> >
> >            def element_properties(type, hwnd, locators)
> >              locators.inject({}) do |properties, locator|
> > -              properties[locator[0]] = self.send("#{type}_#{locator[0]}", hwnd) unless locator[0] == :index
>
> What about this additional check for :index which existed before the
> changes?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jarmo/RAutomation/pull/96/files#r19966565>.
>