Fix two bugs in hwdoc migrations

Backwards migration 0012 in hwdoc could fail in SQLite due to the
inexistence of an index. Fix it with an if using SQLite. This closes #26
Migration 0016 in hwdoc when run sequentially would create a content
type for Equipment model with no name attribute. Fix it by explicitly
providing a name in the migration. This closes #27
Fix typo in COPYING

Copy paste had the ISC instead of the AUTHOR. Closes #28.
Also in the same commit move the contrib directory one level up. It is
there for license and copyright reasons, no need for people to install
it
Merge pull request #29 from akosiaris/master

Bugs #26, #27, #28 closed
python-ldap in requirements.txt

This closes #12. The other part of it, commenting out the backend in
settings.py.dist has already been done in a87a3cb4
Tests not yet written though
Merge pull request #30 from akosiaris/master

python-ldap in requirements.txt
Add ticketed, commented equipment support

Add two views to return all ticketed and commented equipment and group
them with unallocated equipment view in a nice dropdown menu. This
closes #9 and closes #1 as well
Merge pull request #31 from akosiaris/master

Add ticketed, commented equipment support
Add tests for ticketed, commented views

Those two views did not have their corresponding tests added by mistake.
This commit adds them
Merge pull request #32 from akosiaris/master

Add tests for ticketed, commented views
Adding key value pairs support, allow tags, attrs

The entire project is now capable of having key values pairs djangling
of any model instance. This is a new app and comes with its own models,
admin and tests.  The first client of this new support is the
Equipment model instance which adds a reverse relationship for easy
access and allows to easily attach key value pairs to equipment allowing
easy access to generalized operator added attributes like Asset Tags,
The second client of this is the Equipment Model model which allows for
the same kind of data in the model's giving the ability to add
attributes specific to a model like 'POE Ports: 1-8'. This closes #20
Merge pull request #33 from akosiaris/master

Adding key value pairs support, allow tags, attrs
Clarify installation instructions

Clarifying some points, adding some extra information
Mark important equipment in rackrow display

Equipment with tickets and/or comments will now have a indication next
to it
Display empty unit (Us) in racks

A number of changes to allow rack views to also show empty units so that
it can be easy to spot empty Us in a Rack. To do this we add a units
property to rack models, perform calculations in the rack view to create
virtual equipments for the empty units and change the template to not
cough up when it encounters those. Furthermore we add a units property
on equipment models and use it for the final calculations of displayed
rack units. This closes #24
Merge pull request #34 from akosiaris/master

Display empty rack units in racks
Display inrow AC racks in rack/rackrow views

We display those racks via setting background color to red and using the
icon-tint icon from bootstrap's glyphicons
A minor typo fix
Merge pull request #1 from fubvr/master

A minor typo fix
Merge pull request #35 from akosiaris/master

Minor typo fix in documentation
Search for keyvalue values in hwdoc

Allow searching for the newly added keyvalue pairs in hwdoc. This should
allow to easily search for stuff like asset tags, warranties etc