Fixed off by one errors that caused strange behaviour on the last Workspace.
Fixed client_to_ws not looking at the correct workspace.

prev_client assumed that we wanted to look on the current workspace- that isn't true for finding a previous client on another workspace (as we do in client_to_ws).
Added the basis of rules.

Added the implementation of rules.

When the client is to be spawned on a different workspace (without follow set to true) the client is expanded to be the full size of the display (larger than fullscreen) and appears behind all workspaces.
Prevented visual bugs and segfaults when a client was sent to a new workspace without focus following it.
Added a warning about updating focus of clients on other workspaces.
Fixed a missing comma.
Update README.md

Added description of rules.
Added docs for apply_rules.
Fixed #31 and fixed a bug whereby cutting wouldn't cut all clients.
Fixed kill_client not playing nicely with other workspaces and not correctly restoring focus.

Hopefully this will fix #32.

Killing workspace/s and clients has become far faster too. This helps with #23.
Reduced the amount of times windows are rearranged. #23
Merge pull request #30 from HarveyHunt/feature/rules

Feature/rules
Initial implementation.

FIXMEs need sorting and docs need adding.
Fixed the infinite looping.
Added docs.
Added IRC notifications.
Attempt 2.
And again...
Added a check make option and adjusted the travis file accordingly.
Fixed style issues.