osc_sanitizeString: added single quote to hyphen conversion
fix osc_add_flash_error_message
Fix missing spaces before selected="selected"

`<option value=""selected="selected">`
becomes
`<option value="" selected="selected">`
Fixes spaces issues in form elements attributes
[BUG] fix Division by Zero error

After upgrading, fix a cookie issue returning non-empty string but that evaluates to 0
hence the division by zero, `Showing 0 to 0 of 0 results`, empty table, etc..
Merge pull request #1350 from emanwebdev/patch-11

osc_sanitizeString: added single quote to hyphen conversion
Merge pull request #1351 from emanwebdev/patch-12

fix osc_add_flash_error_message
Merge pull request #1357 from emanwebdev/patch-14

Fix missing spaces before selected="selected"
Merge pull request #1362 from emanwebdev/patch-17

Fixes spaces issues in <form> elements attributes
Merge pull request #1365 from emanwebdev/patch-20

[BUG] fix Division by Zero error
fix
Merge pull request #1373 from conejoninja/titledescfix

fix
@TOFIX @FIXME in doModel() for action 'delete_comment'
Fix for not sanitized values
Tiny fixes of useless declarations + optim.
Merge pull request #1388 from emanwebdev/patch-33

Tiny fixes of useless declarations + optim.
Merge pull request #1386 from emanwebdev/patch-31

@TOFIX @FIXME in doModel() for action 'delete_comment'
Fix security issue with posted website URL

Added URL sanitizing and validation

to prevent 

```html
http://nauthy-url.com/"><script>alert(document.cookie)</script>
```
Fix trim strip_tags issue as per #1385

as discussed in #1385
Fix mb_strlen replacement returning wrong value

see http://wpengineer.com/2410/dont-use-strlen/