misc: Added a module to put misc. functions

It currently have only one function that calls perror and exit.
Certainly more functions to come...

Signed-off-by: Celelibi <celelibi@gmail.com>