refine fn_tpl
implement loop sample in user_inbox, and fix tpl_apply() and _tpl_set_array() too
add logic "if" and modify logic "loop" on fn_tpl.php
fn_tpl: do not remove texts inside { }
remove block inside "loop" and "if"
MAJOR: implement templates on themes, change how menu.php works
MAJOR: themes default implement template
tpl name inside $tpl
upgrade themes play to use new template system
display menu on themes play only when valid()
implement enable forgot and register
update CHANGELOG
add new doc TEMPLATE
apply more tpl on inboxgroup
add $app and $route as global variables just like $inc, $op, $page and $nav
remove route handler on plugins as this is now handled by core
update docs for 0.9.9.2-beta1
implement tpl on send sms page
change template file from .tpl to .html
remove unused jquery files