added bootstrap typed definitions file from definatlytyped
changed button page widget to typescript and added tests for it