Fix "No such file or directory" on tab-completion

Checks if the directory ~/.autorandr exists before searching for profiles.
Example error message:
autorandr -find: `/root/.autorandr/*': No such file or directory
Fix xrandr -q parsing when output contains "primary"

xRandR (in newer versions?) will output an extra columns for primary outputs.
Detect this column and modify the string split and column numbers accordingly.
Workaround xrandr bug: "cannot find crtc for output" - efficient solution

xrandr will typically fail when switching outputs, if the maximum number is already enabled.
This patch will cause xrandr to be called twice:
- First invocation will only disable outputs, freeing up CRTCs
- Second invocation will only enable outputs
Added Makefile to install program.
Some small fixes to the pm-utils script
Make user name detection more reliable if there are multiple session (e.g. terminals).
Add a udev rules file for calling autorandr on monitor switch
Install udev rules.
Update README.
Merge remote-tracking branches 'tachylatus/master' and 'herm/master'
Updated README with branch information