Added functions necessary to detect windows on startup (closes #3)

Multimonitor handling will only be relevant if we introduce workspaces and have
to decide on which screen which workspace should be shown.
I think that I handled this in complicance with the ICCCM and hence this commit
also closes #16.