Added functions to client to return the dimensions of the window

For resolution independent font and widget, it is usefull to access the dimensions of the window from css