[Code Style] Changes in tag standards: Libraries

# Please do not merge yet. This is work in progress.

This pull should fix the issue detailed here: joomla/coding-standards#80

I have broken in parts this original pull #4590 to make it easy for review. This pull is contains only the *libraries/* changes. 
The components/, modules/, ... are going to be sent in different pulls.