remove math code for newlib

Newlib already have optimized and full featured math implementation. To
use it, one should add:

    env['LIBS'] = ['m']

or equivalent to the SConstruct.
Newlib: link with libm in default.

libm is a frequently used lib. Newlib is compiled with
-ffunction-sections in recent GCC tool chains. The linker would just
link in the functions that have been referenced. So setting this won't
result in bigger text size.
newlib: use the LIBS argument in DefineGroup instead of modifying the Env
Merge pull request #11 from grissiom/remove-newlib-math

remove math code for newlib
Add RT_MTD_ESRC definitions.

Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code. 
handle standard request to interface that defined in class
Merge pull request #13 from heyuanjie87/ForPullRequest

handle standard request to interface that defined in class
fixed the string descriptor send to host more than actual
more deterministic on timer

If two timer will timeout at the same tick, the one started later will
be called later. I've tested the patch on simulator and it _seems_ OK.

Reported-by: xdzy on the forum and delin17 <delin17@qq.com>
Merge pull request #16 from grissiom/fix-timer

more deterministic on timer
Merge pull request #14 from heyuanjie87/ForPullRequest

fixed the string descriptor send to host more than actual