Merge pull request #307 from AndHam89/master

Avoid another division by zero error and correct unknown manufacturing date computation.
This should fix the sql craziness that was going on withe the media type enforcing.  Part of the problem came in where the initial sql was split to display the devices in the rack in the list first.  That added in the constraint that a cabinet exist in order for the device to be shown so that excluded all child devices.  I've added in some crazy case statements and made the sql uber complex but it has the intended effect now.  Test this shit then call it done. #300
Updated changelog with 3.1 enhancements.
Order of operations problem with the installer and how index.php was calling the installer if there were no tables
Merge branch 'master' of https://github.com/samilliken/openDCIM
Moved user rights to the bottom instead of the redirect to the top
Correction for drop downs getting cleared in the installer
Correction for  error in data exceptions report #308
Spanish and Galician translations
Updated tag to include the es_ES and es_GL translations, and added a line to CHANGELOG to force a recommit.
Correction for brace. close #309
Changed intvals out for floatval.  Shouldn't need to declare either but better safe than sorry. Still looking into the div/0 #310
Removed all reference signs on function calls and if needed replaced by reference signs on function definition, see note in http://php.net/manual/en/language.references.pass.php. In 5.3.0 a reference sign on the function call was tolerated and no warning was given on my test platform (PHP 5.3.17).