Ensure names are truncated to accommodate NVP limit

Switches created through Advanced Plugin should have
their name truncated as well. To this aim, move things
around to avoid awkward imports or code duplications

Fixes bug #1227927

Change-Id: I3cc69356227d3bd63603ee1e53d82e6561f4cad0
Use built-in print() instead of print statement

In python 3 print statement is not supported, so we should use
only print() functions.

This patch also removes print in unit test, left by accident

Fixes bug 1226943

Change-Id: I5ace50cb9e149682344b4c986ef9318f8dc50f72
Flip to pythonic method names for context unit tests

Fixes bug #1228738

Change-Id: Ia1864e64d7d2848f5892484eb5ad592a1f523fae
Fix usage of _fields method in provider_configuration.py

Apply _fields() method to each dict in the list.

Change-Id: I9357212e203843ffa4a05216d9c79fe8831971a5
Closes-Bug: #1227971
Imported Translations from Transifex

Change-Id: I625bfc9c649f6f25f706a8696406a7962bc6f0a9
Merge "Use built-in print() instead of print statement"
Merge "Flip to pythonic method names for context unit tests"
Merge "Imported Translations from Transifex"
Merge "Fix usage of _fields method in provider_configuration.py"
Merge "Ensure names are truncated to accommodate NVP limit"