Triggering EarlySuspend based on BackLight brightness

EarlySuspend is triggered currently based on just timeout. Due to this,
backlight brightness is not coming down to zero.

Allowing display turning off animation before Early suspend.

This change passes display turning off information to
animation call so that display off animation can be played
before early suspend call.
Reverted two and three changes in the below list with this patch.
Changes introduced in previous patch were:
1.Send early suspend call after display baclklight off
2.All animations off once display goes to dim.
3.Removed duration to turn off screen as i don't see this in ICS.

My edits:
PS1: Add a config option so it doesn't break non-qcom devies. Thanks to Arne for the idea
PS2: Fix up logic

Change-Id: I640ca93843bc15c7761ba2fb2b2188c8a092bb9c