Merge pull request #819 from logoff/release-0.26

Release 0.26

This new release offers a refactor of OpenNaaS REST API's. Now they offer more methods, with better URL's and an easy way to serialize sent and received objects using XML serialization.

Release Notes - OpenNaaS - Version OpenNaaS 0.26
    
<h2>        Bug
</h2>
<ul>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1223'>OPENNAAS-1223</a>] -         Incorrect ToS representation
</li>
</ul>
                                
<h2>        Improvement
</h2>
<ul>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1219'>OPENNAAS-1219</a>] -         ResourceManager should expose all its methods via REST API
</li>
</ul>
                                            
<h2>        Story
</h2>
<ul>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1249'>OPENNAAS-1249</a>] -         Incomplete APIs
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1297'>OPENNAAS-1297</a>] -         Add Setters to Router Capabilities APIs
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1302'>OPENNAAS-1302</a>] -         Modify ResourceManager API
</li>
</ul>
                    
<h2>        Technical task
</h2>
<ul>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1250'>OPENNAAS-1250</a>] -         Incomplete Resource Manager exported API
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1263'>OPENNAAS-1263</a>] -         OSPF Capability should have GET methods
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1266'>OPENNAAS-1266</a>] -         OSPFv3 Capability should have GET methods
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1268'>OPENNAAS-1268</a>] -         Create getInterfaces logic in a common place
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1298'>OPENNAAS-1298</a>] -         Update OSPF API
</li>
<li>[<a href='http://jira.i2cat.net/browse/OPENNAAS-1300'>OPENNAAS-1300</a>] -         Update IP Capability
</li>
</ul>
Merge pull request #869 from logoff/release/0.27

Release/0.27
Merge pull request #870 from logoff/develop

New development iteration 0.28-SNAPSHOT
Upgrade to netconf4j 0.0.8-SNAPHOT.
Upgrade guava to version 12.0.

This change is motivated by a uses constraint violation error.

The error is caused by having two different versions of guava libraries
(one comming from netconf4j and the other one from opennaas) used in same bundle.

This patch solves this error by unifying the version of guava being used in opennaas, that is now set to 12.0.

Oficial Guava is already published as an OSGi bundle since version 12.0. Hence, guava-osgi repackaging is no longer used.
Upgrade Guava dependency to latest release (16.0.1)
Upgrade to netconf4j 0.0.8
Fixed new methods and paths for existing methods in StaticRoute capability.
Nullsafe implementation for method to find matching routes for a specific request.

RouteSelectionMatches method is now used.
This method compares two RouteSelectionInput objects and determines whether a candidate matches requested requeriments.
Candidate is said to match in case candidate specifications are equal or less restrictive than the ones requested.

The use of StringUtils.isEmpty(string) and the fact of only accessing methods in string when isEmpty returned false, makes the method null safe.
At least for null values in candidate attributes, which sere the cause of the reported bug (OPENNAAS-1358).
API classes for StaticRoute capability.
Bad author name corrected.
Fix test to demonstrate desired behaviour.
Support requests specifying only one of min or max value per QoS parameter.

QoSPolicy now uses a marked value (UNSPECIFIED_VALUE = -1) to indicate a value has not been specified.
Parsers for QoSPolicy now translate null values into UNSPECIFIED_VALUE, and vice-versa.

There is no need to change any driver implementation as QoSPolicy parameters are unused by now.

This patch fixes issue OPENNAAS-1367.
StaticRouteApiHelper and bugs fixed.
GetStaticRoutes method in StaticRouteCapability.
Avoid error trace in console related with NCLMonitoringCapability WS.

This patch avoids publishing NCLMonitoringCapability as WS, which was causing an error.
It keeps publishing it as an OSGi service, but not as WS any more.

The error was caused by INCLMonitoringCapability not having any declared method to export.
If this interface is to grow in the future, it should then be published as the rest.

Fixes issue OPENNAAS-1357.
Added fixme to refresh action.
StaticRoute implements Serializable.
Add preference to IStaticRouteCapability.
Add preference to model class and helper.