Added assert() macros and improved debug()

New assert() macros have been added to debug.h, they print either
PASS or FAIL for the sake of Unit Testing modules.
Now debug() also prints file name and line number.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>