Break dependency between state and apiserver/params package

This PR breaks the dependency between the `state` package and the `apiserver/params` package. 

Specifically the types that were imported by `state` from `apiserver/params` have been moved to a third package, the root of the repo. This is only a temporary measure to break the dependency, please don't get too hung up on the location of these types.

The plan from here is to move the relevant types into `state` if necessary, and relocate the others to the appropriate place.

This will also remove all the nasty functions that translate from constants in `state` like Life or Status to constants that were in `apiserver/params`
This is constants_test.go from apiserver/params. I'll fix it.

On Wed, Nov 12, 2014 at 7:31 AM, Menno Smits <notifications@github.com>
wrote:

> In constants_test.go:
>
> > @@ -0,0 +1,22 @@
> > +// Copyright 2014 Canonical Ltd.
> > +// Licensed under the AGPLv3, see LICENCE file for details.
> > +
> > +package juju
> > +
> > +import (
> > +	jc "github.com/juju/testing/checkers"
> > +	gc "gopkg.in/check.v1"
> > +)
> > +
> > +type ConstantsSuite struct{}
> > +
> > +var _ = gc.Suite(&ConstantsSuite{})
> > +
> > +func (s *ConstantsSuite) TestAnyJobNeedsState(c *gc.C) {
>
> Nit: given that AnyJobNeedsState is in juju.go, this test should probably
> go in juju_test.go.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/juju/juju/pull/1103/files#r20178192>.
>