Track injection: raise on userland in case of field empty of id is nil.
Add clear_fields method on track.
Alter debug.
Fix bad end and indent.
Add classes for file access right management.

Slight code improvements (style, lint, clean methods).