Added functions to extract info from partnumber

The info extracted is:
  Device number: xc6slx9-tqg144-3 -> xc6slx9
  Package: xc6slx9-tqg144-3 -> tqg144
  Speed Grade: xc6slx9-tqg144-3 -> -3
  Family: xc6slx9-tqg144-3 -> spartan6

Also Added unit tests to test these features out
Added support for coregen integration