1.2.rev100

port from yajd commits:
start -
https://github.com/yajd/Profilist/commit/932317774017c73a255295452948e6f72677c13e
end -
https://github.com/yajd/Profilist/commit/6617e934dec0ae794ae89218cae6c083f40a1884
### ostypes_mac and nix.jsm
* removed Cu.mport as these are for use in ChromeWorker they dont have
access to Cu and also they dont need it as ChromeWorker has ctypes
object available already
### Profilist.worker
commit 1
* corection on D.CloseFd declare
* fixed a bnch D. in nix stuff
* making nix stuff rely on ostypes
* created returnFirstLibThatOpens
* UNTESTED
commit 2
in winxp i cant just test if it has WS_VISIBLE flag, i have to test if
it ALSO has WS_CAPTION flag. i should verify this is true on win81 etc
otherwise add in a test for win
commit 3
fixed WS_OVERLAPPEDWINDOW in array object it was named wrong on accident
commit 4
* got it working so it shows if profile is in use on linux (with
testing) on menu open
* trying to get linux code to focus window this is not working yet
commit 5
* made it do last window with lasttime in xquerysubree this might work
to focus highest on zorder
* its focusing now, i had to make it focus the first one that occured.
rather than rely on lasttime i should change it to use winnormal
* fixed a big deal where it was testing !== 0 changed it to !== -1 and
initied its var at -1 instead of 0 as win in el 0 may well be the window
to focus like it was here
commit 6
looks like its focusing the right window now even handles minimziing
aH!!!! should probably still set up to use iwn normal rather than
lasttime
commit 7
modularized getwindowprop and trying to make it getwindowtype but not
able to. got it returning icon
commit 8
from here it looks like they xfree even when nelements == 0

https://github.com/mozeq/skippy-xd/blob/2f8b6552d5abefbb3e6eb58ddaeebb9e79d76ffa/wm.c#L478