Small update

Revised new code slightly so most of it is only executed on PowerShell v4+.  Dynamic keywords didn't exist in v3.0, and executing IsChildOfHashtableDynamicKeyword might have caused errors when StrictMode is enabled.