Adding proper links to email body

Email body now shows both link on a Book type lesson and course. Minor
changes in DB queries and less variables are used.
Div reorganisation, removing unnecessary JS

Reorganising divs in block .php file to enable showing of messages
using YUI.
Removing unnecessary logging from JS file, and fixing messages showing
in block .php file
Sending message with JS disabled

Implemented message sending when JS is disabled in browser.
Remove pix icon

Pix icon is not needed, so we will remove it.
Changing block name

Block name should be more suitable and intuitive. It also requires
version change so that lang changes can take effect.