perl5 preparation of testable rewrite

- changing get_xrandr_info to return a hashref instead of a hash
- emptying @EXPORT
perl5: move function from script to module

- also add test
perl5: start rewriting check_displays.pl

- Goal is to have only a very simple script
- testable check_displays logic
- put all logic to new Configurator module