Fix for 12837: Duration's get and individual unit getters are bug-prone.

Experience has shown that most people (who don't read the documentation)
seem to expect that get and the indivdual getters return what total
returns, causing bugs. So, this commit renames get to getOnly (leaving
get as a deprecated alias to getOnly) and deprecates the individual unit
getters, forcing folks to use total or getOnly explicitly. It's likely
that most code that will have to change because of these changes is
broken anyway, so this will catch bugs.
Merge pull request #822 from jmdavis/time

Fix for 12837: Duration's get and individual unit getters are bug-prone.
Added support for basic Key State API's

Added support for the GetKeyState, GetAsyncKeyState, GetKeyboardState, SetKeyboardState, and MapVirtualKey Windows API's. All API's are available beginning on Windows 2000.
Merge pull request #823 from LightBender/patch-1

Added support for basic Key State API's