syslog: fixes and updates to rsyslogd and logrotate.
Adjust lograte size to prevent a mismatch.
Change rsyslogd size to be actual size instead of a naive value.
Potentially fix bug #13699000 by increasing the maximum number of TCP sessions.

Rsyslog was rejecting agents from connecting because of MaxSessions, which caused those
agents to go into spirals of trying to restart their rsyslog worker over and over,
which then generated tons of DEBUG level logging on machine-0 because of the workers
restarting, which then spammed the log file a lot.
[WIP] Support for filtering status on different criteria.

- From spec: https://docs.google.com/a/canonical.com/document/d/1olIjfnMIKPbNMmNBhfjwlnzdRvY-xBKygpIOhv7QIkE/edit#heading=h.tdsd6gcvc55e
Merge branch 'master' into rsyslog-max-connections-1369900

Small conflict that can be trivially fixed.

Conflicts:
	utils/syslog/config.go
Merge, refactoring, additional filters, tests.

- Merge branch 'master' into status-filtering.
- Filters moved into their own file.
- Now filtering machines as first-class objects.
- Filters broken down into atomic operations for re-usability.
- Meat of tests is now present.
Add IsLXCSupported()
Added tests

Added tests for the following cases:

* Mallformed cgroup file
* Missing cgroup file
* system juju is running on is not linux
use filetesting
Responded to feedback
Refactor the UserManager and commands.

This branch adds consistency to the UserManager.
Primarily around the use of tags to pass the usernames.
Also untangles the API client from the server that was
there with the user manager structs being defined in the
apiserver package (not params).

The commands have been hooked up, and tested manually.

There were several clear changes needed when testing:
 * until we have multiple environments, creating a user
   should cause that user to have access to the environment
 * when adding a user, we should always write out the jenv
   file (until the user is able to login and see themselves)
 * the remove user command has been renamed to disable,
   as it wasn't removing the user at all (this is still todo)
Merge branch 'user-manager-tag-redux' into juju-user-list
Add a method to state to get all the users.
Add apiserver changes to return all users.
Add a list command for users and hook it up.
Merge remote-tracking branch 'refs/remotes/origin/master' into status-filtering
Migration code for JobManageNetworking added, tests still missing.
Holistic unit-chain matching.

- Situations in which the entire chain of units and their subordinates do not match are now handled correctly.
Added reboot worker
respond to feedback
Respond to feedback