Add localization calls to the subnets and the trenda pages.

There are other changes to the common layouts based on simple testing.
Use proper syntax for step 2 title, comment by Joseph Magen
Load the apipie documentation when calling '/api'

The documentation is used to list the links for the resources. We make
sure it's loaded.
rails 3.2
fixed spice-html5 loading.
fixed migration deprecated constant
removed a malicious fixture that broke all my test.
prevent inner-select because it brakes on mysql.
in rails3.1 active record uses inner select where previuos versions
prefered two queries.
Because mysql does not support limit in inner select, I am forcing two
queries.
latest scoped_search