Handle tinc inconsistent migration history.
Validate controller version on upgrade commands.
Add support to disable API resources list pagination.
Disable API pagination by default.

Fix backwards compatibility with REST API clients
(e.g. the SFA Wrapper)
Fix permissions of ticket actions.
Fixed ZeroDivisionError with empty querysets.

Regression introduced by 50a025ce3534920235d0679fd0e72c010645a093
Update south freeze schema after migrations reorder.

Related commit 07a7e92e4d0d382939473f29251ea206090ae54b.
Fix upgradecontroller, cannot import name decode_version.
Revert "Fix upgradecontroller, cannot import name decode_version."

This reverts commit 8db73d21eb9c33aae8da57b00028ee51160f475c.
Fix upgradecontroller, add backwards compatibility decode_version.
Fix setuptincd management command. Use dinamyc server ID.
Handle invalid and malformed build kwargs.
Fixes #594. Define mgmtnetworks permissions.
Allow choose default tinc gateway on node firmware configuration.

* Extend tinc with default_connect_to attribute.
* Include new UCI entry to store tinc_gateway.
* Store tinc gateways on /etc/confine/tinc-gateways