Extend CTS tests in DevicePolicyManager

Adding some more tests related to password quality (complex cases)
and simple tests to check the setting and getting of password history
length, password expiration timeout and maximum time to lock screen.

Bug:17580564
Change-Id: I9fbd07c2af0f54a0d8e739228b18402c159fcfd9
2 files changed