bugfix: remove class only if tagInput defined

tagInput variable not used inside forms of single input, only in forms
of multiple select
Merge pull request #54 from gescheit/master

bugfix: remove class only if tagInput defined
spare IPv6 prefixes are limited to nibble boundary

splitNetworkByMask: new library function
iptree_fill: use net's pre-calculated ['spare_ranges'] array
iptree_construct: removed
iptree_embed: removed
button to fix non-canonical port names (#827)

	shortenPortName: a caching wrapper around detectDeviceBreed and shortenIfName
	renderObjectPortRow: highlight port name with yellow if it's name is not canonical
	renderPortsForObject: idem, display rename link
	renameObjectPorts: new ophandler
bugfix: include Zero-U into ['mountedObjects']

amplifyCell: Zero-U-mounted objects were not counted in rack summary
display rack power consumption (#701)

	populateRackPower: function that alters $summary
	renderRackInfoPortlet: call populateRackPower()
Fix for http://bugs.racktables.org/view.php?id=837

Bug #837 describes wrong sort-order for objects with polish characters. This should be fixed by using "collate utf8_unicode_ci" on all tables explicitly.
isInnoDBSupported: fix failed upgrade reentrance

If the upgrade script failes on creating a trigger
because of binary logging is turned on, it keeps the innodb_test table,
preventing further calls of isInnoDBSupported().
new dictionary item Cisco 2960X*
vrpReadLLDPStatus: vrp85 was not working

Huawei VRP 8.5 has different Port ID type values. Extend the $valid_subtypes
array and also the extracting regexp.

Do trim of every extracted string, because the values have spaces in trail.
queryLDAPServer: suppress possible PHP notice
getRenderedIPv4NetCapacity: missing key access fix

missing key dereference was performed when displaying usage for
unallocated IPv4 space
fix copy-paste bugs in some ophandlers

updateFile: fix PHP notice for undefined variable
updIPv4RSP: vsconfig was lost when saving
dictionary item for Cisco IOS 15.2
dictionary: list RHEL version 7 (#1177)
revert to pristine CodeMirror-3.20
upgrade CodeMirror from 3.20 to 3.22
apply RackTables-specific changes to CodeMirror
require PHP version 5.2.10 or newer

PHP releases prior to 5.2.10 (18 June 2009) suffered a bug in ip2long()
(see RackTables bug #1139 and PHP bug #47365), which was fixed in later
releases. Guard the user from triggering it again.
get_pseudo_file(): use for(), not hardcoding