Operational-status bug fixed.
Fix mistake with action ID in RemoveInterfaceFromLRAction.

That action had the ID of another one.
Make AddInterfaceToLRAction and RemoveInterfaceFromLRAction available in chassis ActionSet.
Print response in Add/Remove InterfaceToLRCommand Commands.
Merge pull request #49 from adrian-rosello/develop

Develop
Merge branch 'develop' of git://github.com/dana-i2cat/opennaas into develop
Use guava version 10.0.1.

Latest guava version (11.0.1) causes integration tests to launch following error:

java.lang.NoSuchMethodError: com.google.common.io.Files.deleteRecursively(Ljava/io/File;)V
        at org.ops4j.pax.exam.spi.DefaultExamSystem.clear(DefaultExamSystem.java:214)

This is avoided using 10.0.1 version.

Seems that pax.exam requires such method, but it's not available in newer guava releases.
So we'll have to wait for newer pax.exam release to upgrade guava.
Merge branch 'feature/add-base-class-for-integration-tests' of git://github.com/gbehrmann/opennaas into develop

Conflicts:
	manticore/tests/integration/net.i2cat.mantychore.tests.capability/src/test/java/net/i2cat/mantychore/chassiscapability/test/ChassisCapabilityIntegrationTest.java
Added integration tests for add/remove interface from LR Actions.

Just added a call to them in the chassis capability integration test calling all chassis actions.
This patch also enables this test. Failing action (set encapsulation) has been moved to another test, which remains ignored.

Asserts have been changed to produce more descriptive errors.
Merge pull request #44 from gbehrmann/feature/close-jpa-entitymanager

Replace Dynamic JPA with Aries JPA
Refactor OSPF tests and add base class
Change the syntax of the GRE and OSPF-in-router commands.
Merge pull request #51 from adrian-rosello/feature/script-update

Develop
Merge branch 'ospf-tests-refactor' of git://github.com/jordi-puig/opennaas into develop
Merge pull request #50 from jordi-puig/ospf-tests-refactor

OSPF test refactor and add base class.
Remove old karaf commands for adding and removing interfaces from a LR.

CreateLogicalRouterCommand has been updated to use AddInterfaceToLRAction to add interfaces to the newly created LR,
instead of using AddInterfaceCommand (which has been removed).

A test for AddInterfaceCommand failing when LR was activated has been removed, as this check should not be done in the command, but during action execution.
Check interface exists in Add/RemoveIterfaceFromLRActions.

AddInterfaceToLRAction executeListCommand method has also been refactored for better reading.
Merge branch 'develop' of git://github.com/dana-i2cat/opennaas into develop
Merge branch 'feature/netqueue-capability' of git://github.com/jordi-puig/opennaas into develop
persistence: Replace Hibernate with OpenJPA

Hibernate is known to be difficult to use in an OSGi context, partly
because it isn't packaged as a bundle and thus requires repackaging.

This patch replaces Hibernate with OpenJPA in OpenNaaS. OpenJPA is
available as a bundle and thus doesn't require repackaging.

Several OpenNaaS classes made explicit use of the Hibernate API. This
patch changes those classes to use the JPA API when possible. In one
case the OpenJPA API needs to be used directly: OpenNaaS's DAO
interface makes use of query by example and this functionality is not
available in JPA 2.

Access to the JDBC driver is always challenging in an OSGi context.
Previously we added a dynamic-import to our repackaged Hibernate
bundle. This allowed it to load the JDBC driver. The Aries JPA
recommended approach is however to configure the persistence.xml file
to lookup a data source through JNDI. Using this mechanism, the JDBC
driver is loaded by our opennaas-core-resources bundle, which publishes
the data source as an OSGi service. Thus no dynamic import is required.
This also has the benefit that it becomes easier to inject
configuration values when setting up the data source (should we wish to
do so in the future).