rts_os:  Added interruptions handling to OS

Signed-off-by: Oscar Suro <outercript@gmail.com>