Use new name in log.
Apply renaming into Activator.
Network Port Statistics skeleton.
Merge remote-tracking branch 'adrian-rosello/refactor/rename-switch-monitoringcapab' into feature/net-statistics
Port Statistics Monitoring skeleton and implementation.

TODO:
- Filter results using given timeperiod
- Use PortStatisticsCapability instead of INetworkStatisticsCapability to get stats
Merge pull request #949 from logoff/ofertie/net-port-stats

Network Port Statistics capability skeleton

And some improvements in ofswitch Port Statistics Capability.
Filter results using given TimePeriod.

This patch uses SortedMap and its TreeMap implementation to hold TimedStatistics.
Filtering the map using time period is achieved by SortedMap.subMap(K from, K to) method.
Add sortedMap to improve efficiency in filtering circuits statistics per time period.
Additional tests for the StatisticsCapability.
Serializable IPortStatisticsMonitoringCapability interface.

Both methods return an object of type TimedPortStatistics, which is serialized as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<timedPortStatistics>
    <statistics>
        <statistics>
            <packetLoss>0</packetLoss>
            <portId>p1</portId>
            <switchId>switch1</switchId>
            <throughput>10</throughput>
            <timestamp>1</timestamp>
        </statistics>
        <statistics>
            <packetLoss>0</packetLoss>
            <portId>p2</portId>
            <switchId>switch1</switchId>
            <throughput>10</throughput>
            <timestamp>1</timestamp>
        </statistics>
        <statistics>
            <packetLoss>0</packetLoss>
            <portId>p1</portId>
            <switchId>switch1</switchId>
            <throughput>10</throughput>
            <timestamp>2</timestamp>
        </statistics>
        <statistics>
            <packetLoss>5</packetLoss>
            <portId>p2</portId>
            <switchId>switch1</switchId>
            <throughput>100</throughput>
            <timestamp>2</timestamp>
        </statistics>
        <statistics>
            <packetLoss>0</packetLoss>
            <portId>p1</portId>
            <switchId>switch1</switchId>
            <throughput>10</throughput>
            <timestamp>3</timestamp>
        </statistics>
        <statistics>
            <packetLoss>0</packetLoss>
            <portId>p2</portId>
            <switchId>switch1</switchId>
            <throughput>10</throughput>
            <timestamp>3</timestamp>
        </statistics>
    </statistics>
</timedPortStatistics>
Add licenses.
Merge branch 'ofertie/monitoring' into feature/port-statistics-monitoring
Merge branch 'ofertie/monitoring' into feature/port-statistics-monitoring
Fix bug: was calculating packetloss using only current stats, but should use previous stats too.
Add missing license.
Merge pull request #950 from isartcanyameres/feature/port-statistics-monitoring

Feature/port statistics monitoring
Merge branch 'ofertie/monitoring' of https://github.com/dana-i2cat/opennaas into ofertie/monitoring

Conflicts:
	extensions/bundles/genericnetwork/src/main/java/org/opennaas/extensions/genericnetwork/model/GenericNetworkModel.java
Merge TimePeriod class into one.