[LOGMGR-67] Add new format options for the PatternFormatter

### Added the ability to use the thread id for the thread format pattern.

Example:
```
Thread Id: %t{id} Thread Name: %t
```

### Added option to print system properties.

Example no default:
```
%${key}
```

Example with default:
```
%${key:defaultValue}
```

### Added options to truncate segments of the category or class name.

Precision | Category | Output
--- | --- | ---
```%c``` | org.jboss.logmanager.example | org.jboss.logmanager.example
```%{1}``` | org.jboss.logmanager.example | example
```%{1.}``` | org.jboss.logmanager.example | o.j.l.example
```%{.}``` | org.jboss.logmanager.example | ...example
```%{1.~}``` | org.jboss.logmanager.example | o.~.~.example


Also minor updates to ignore a test that randomly fails and not always append a dot to the stack for NDC.