Backport changes from bde-classic PR 43
Backport changes from bde-classic PR 43

Author: Masud Rahman <mrahman15@bloomberg.net>  2015-12-28 17:31:25

    baea_performancemonitor: narrowing conversions

    C++11 disallows narrowing conversions in initializer lists.
    'baea_performancemonitor' uses 'win32' APIs that require 'DWORD's, which
    correspond to 'unsigned int' but attempt to pass 'int' to them.  Since
    'unsigned int' cannot hold all 'int's, this causes the program to be
    ill-formed.

    This commit changes the component to use 'unsigned int' where appropriate.  One
    issue arises in 'findInstanceIndexFromPid' where an 'int' is being returned
    where '-1' is used to signal an error, but other values are the expected return
    value.  This commit changes that method to instead explicitly load the return
    value into an out parameter, and not overload it with the return value since
    they two types do not have overlapping ranges.

    This commit also uses 'ULARGE_INTEGER' for extracting an 'int64' from a
    'FileTime' value instead of a 'LARGE_INTEGER' which additionally causes
    narrowing conversion issues.

che2/bde,che2/bde,bloomberg/bde,bloomberg/bde,bloomberg/bde,che2/bde,bloomberg/bde,che2/bde,bloomberg/bde